<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of address_model
 *
 * @author hassanali
 */
class upgrade_store_model extends admin_model {

    //put your code here
    public function __construct() {
        parent::__construct();
        $this->table = 'upgrade_store';
        $this->select = array('upgrade_store.*', 'user.username', 'user.create_date as ucreate');
        $this->join = array(
            'user' => 'user.id = upgrade_store.owner_id'
        );
    }

}

?>
